Ext.define('Jason.view.example.grid.standard.MainView', {
    extend: 'Wys.basic.BaseView',
    xtype: 'standardGridView',
    requires: [
        'Wys.basic.BaseStore',
        'Wys.toolbar.Paging',
        'Jason.view.example.grid.basic.MainController',
        'Jason.view.example.grid.basic.MainModel',
        'Jason.store.example.grid.BasicGridStore'
    ],
    controller: 'basicGridViewCtrl',
    viewModel: { type: 'basicGridViewModel' },
    bind: '{standardGridStore}',
    selType: 'checkboxmodel',
    multiSelect: true,
    columns: [
        { xtype: 'rownumberer', text: '序号', align: 'center', width: 50 },
        { text: '字段1', dataIndex: 'field1', flex: 1 },
        { text: '字段1', dataIndex: 'field2', flex: 1 }
    ],
    dockedItems: [{
        xtype: 'pagingtoolbar',
        bind: '{checkboxmodel}',
        dock: 'bottom'
    }]
});